[INFO] cloning repository https://github.com/axaysagathiya/dodo-payments-assignment
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/axaysagathiya/dodo-payments-assignment" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faxaysagathiya%2Fdodo-payments-assignment", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faxaysagathiya%2Fdodo-payments-assignment'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 007e2c17c1dc6938feae70f3263b5747bb61e013
[INFO] fixing axaysagathiya/dodo-payments-assignment against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faxaysagathiya%2Fdodo-payments-assignment" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/axaysagathiya/dodo-payments-assignment
[INFO] finished tweaking git repo https://github.com/axaysagathiya/dodo-payments-assignment
[INFO] tweaked toml for git repo https://github.com/axaysagathiya/dodo-payments-assignment written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/axaysagathiya/dodo-payments-assignment on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/axaysagathiya/dodo-payments-assignment already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded flume v0.12.0
[INFO] [stderr]   Downloaded etcetera v0.11.0
[INFO] [stderr]   Downloaded sqlx-macros v0.9.0
[INFO] [stderr]   Downloaded whoami v2.1.2
[INFO] [stderr]   Downloaded sqlx-sqlite v0.9.0
[INFO] [stderr]   Downloaded sqlx-macros-core v0.9.0
[INFO] [stderr]   Downloaded sqlx-mysql v0.9.0
[INFO] [stderr]   Downloaded sqlx-postgres v0.9.0
[INFO] [stderr]   Downloaded sqlx-core v0.9.0
[INFO] [stderr]   Downloaded hkdf v0.13.0
[INFO] [stderr]   Downloaded sqlx v0.9.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] bdc59013baa632306f2c2b2c67f83931e2e46143ccfeaf520a6aa91f0e120245
[INFO] running `Command { std: "docker" "start" "bdc59013baa632306f2c2b2c67f83931e2e46143ccfeaf520a6aa91f0e120245", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bdc59013baa632306f2c2b2c67f83931e2e46143ccfeaf520a6aa91f0e120245" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bdc59013baa632306f2c2b2c67f83931e2e46143ccfeaf520a6aa91f0e120245", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bdc59013baa632306f2c2b2c67f83931e2e46143ccfeaf520a6aa91f0e120245" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling shlex v2.0.1
[INFO] [stderr]    Compiling displaydoc v0.2.6
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling generic-array v0.14.9
[INFO] [stderr]    Compiling typenum v1.20.1
[INFO] [stderr]     Checking yoke v0.8.3
[INFO] [stderr]     Checking log v0.4.32
[INFO] [stderr]    Compiling cc v1.2.63
[INFO] [stderr]    Compiling zerovec v0.11.6
[INFO] [stderr]     Checking mio v1.2.1
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking socket2 v0.6.4
[INFO] [stderr]    Compiling autocfg v1.5.1
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]    Compiling tinystr v0.8.3
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]     Checking tokio v1.52.3
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking potential_utf v0.1.5
[INFO] [stderr]     Checking icu_locale_core v2.2.0
[INFO] [stderr]    Compiling hybrid-array v0.4.12
[INFO] [stderr]    Compiling zerotrie v0.2.4
[INFO] [stderr]     Checking memchr v2.8.1
[INFO] [stderr]     Checking icu_collections v2.2.0
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]     Checking http v1.4.1
[INFO] [stderr]    Compiling cmov v0.5.4
[INFO] [stderr]    Compiling openssl-sys v0.9.116
[INFO] [stderr]    Compiling ctutils v0.4.2
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]    Compiling crypto-common v0.2.2
[INFO] [stderr]    Compiling block-buffer v0.12.0
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]    Compiling rustls-pki-types v1.14.1
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]    Compiling digest v0.11.3
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking bitflags v2.13.0
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]    Compiling rustls v0.23.40
[INFO] [stderr]    Compiling cpufeatures v0.3.0
[INFO] [stderr]    Compiling foldhash v0.2.0
[INFO] [stderr]     Checking rand_core v0.10.1
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling tinyvec v1.11.0
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling chrono v0.4.45
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]    Compiling rustls-webpki v0.103.13
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]     Checking h2 v0.4.14
[INFO] [stderr]    Compiling openssl v0.10.80
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling hashlink v0.11.1
[INFO] [stderr]    Compiling chacha20 v0.10.0
[INFO] [stderr]    Compiling hmac v0.13.0
[INFO] [stderr]    Compiling webpki-roots v1.0.7
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling unicode-properties v0.1.4
[INFO] [stderr]    Compiling uuid v1.23.2
[INFO] [stderr]    Compiling zerocopy v0.8.50
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling hkdf v0.13.0
[INFO] [stderr]    Compiling rand v0.10.1
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]     Checking hyper v1.10.1
[INFO] [stderr]    Compiling sha2 v0.11.0
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]    Compiling md-5 v0.11.0
[INFO] [stderr]    Compiling whoami v2.1.2
[INFO] [stderr]    Compiling sqlx-core v0.9.0
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling blake3 v1.8.5
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking axum-core v0.5.6
[INFO] [stderr]     Checking tower-http v0.6.11
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking constant_time_eq v0.4.2
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stderr]    Compiling sqlx-postgres v0.9.0
[INFO] [stderr]     Checking axum v0.8.9
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.6
[INFO] [stderr]    Compiling sqlx-macros-core v0.9.0
[INFO] [stderr]    Compiling sqlx-macros v0.9.0
[INFO] [stderr]     Checking sqlx v0.9.0
[INFO] [stderr]     Checking invoice-payment-system v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/handlers/customers.rs:72:21
[INFO] [stdout]    |
[INFO] [stdout] 72 |       let customers = sqlx::query_as!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 73 | |         Customer,
[INFO] [stdout] 74 | |         r#"
[INFO] [stdout] 75 | |         SELECT id, name, email
[INFO] [stdout] ...  |
[INFO] [stdout] 79 | |         auth.business_id
[INFO] [stdout] 80 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/handlers/customers.rs:72:21
[INFO] [stdout]    |
[INFO] [stdout] 72 |       let customers = sqlx::query_as!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 73 | |         Customer,
[INFO] [stdout] 74 | |         r#"
[INFO] [stdout] 75 | |         SELECT id, name, email
[INFO] [stdout] ...  |
[INFO] [stdout] 79 | |         auth.business_id
[INFO] [stdout] 80 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/customers.rs:111:20
[INFO] [stdout]     |
[INFO] [stdout] 111 |       let customer = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 112 | |         Customer,
[INFO] [stdout] 113 | |         r#"
[INFO] [stdout] 114 | |         SELECT id, name, email
[INFO] [stdout] ...   |
[INFO] [stdout] 119 | |         auth.business_id
[INFO] [stdout] 120 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/customers.rs:111:20
[INFO] [stdout]     |
[INFO] [stdout] 111 |       let customer = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 112 | |         Customer,
[INFO] [stdout] 113 | |         r#"
[INFO] [stdout] 114 | |         SELECT id, name, email
[INFO] [stdout] ...   |
[INFO] [stdout] 119 | |         auth.business_id
[INFO] [stdout] 120 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/invoices.rs:99:5
[INFO] [stdout]     |
[INFO] [stdout]  99 | /     sqlx::query!(
[INFO] [stdout] 100 | |         r#"INSERT INTO invoices (id, business_id, customer_id, total_amount_cents, state) VALUES ($1, $2, $3, $4, $5)"#,
[INFO] [stdout] 101 | |         invoice_id,
[INFO] [stdout] 102 | |         auth.business_id,
[INFO] [stdout] ...   |
[INFO] [stdout] 105 | |         InvoiceState::Open as InvoiceState
[INFO] [stdout] 106 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/invoices.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 117 | /         sqlx::query!(
[INFO] [stdout] 118 | |             r#"INSERT INTO invoice_items (id, invoice_id, description, quantity, unit_amount_cents) VALUES ($1, $2, $3, $4, $5)"#,
[INFO] [stdout] 119 | |             item_id,
[INFO] [stdout] 120 | |             invoice_id,
[INFO] [stdout] ...   |
[INFO] [stdout] 123 | |             item.unit_amount_cents
[INFO] [stdout] 124 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/invoices.rs:151:19
[INFO] [stdout]     |
[INFO] [stdout] 151 |       let invoice = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 152 | |         r#"
[INFO] [stdout] 153 | |         SELECT id, customer_id, total_amount_cents, state as "state: InvoiceState"
[INFO] [stdout] 154 | |         FROM invoices
[INFO] [stdout] ...   |
[INFO] [stdout] 158 | |         auth.business_id
[INFO] [stdout] 159 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/invoices.rs:177:17
[INFO] [stdout]     |
[INFO] [stdout] 177 |       let items = sqlx::query_as!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 178 | |         InvoiceItemResponse,
[INFO] [stdout] 179 | |         r#"
[INFO] [stdout] 180 | |         SELECT description, quantity, unit_amount_cents
[INFO] [stdout] ...   |
[INFO] [stdout] 184 | |         invoice_id
[INFO] [stdout] 185 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/invoices.rs:212:20
[INFO] [stdout]     |
[INFO] [stdout] 212 |       let invoices = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 213 | |         InvoiceSummary,
[INFO] [stdout] 214 | |         r#"
[INFO] [stdout] 215 | |         SELECT id, customer_id, total_amount_cents, state as "state: InvoiceState"
[INFO] [stdout] ...   |
[INFO] [stdout] 221 | |         filter.status as Option<InvoiceState>
[INFO] [stdout] 222 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/invoices.rs:99:5
[INFO] [stdout]     |
[INFO] [stdout]  99 | /     sqlx::query!(
[INFO] [stdout] 100 | |         r#"INSERT INTO invoices (id, business_id, customer_id, total_amount_cents, state) VALUES ($1, $2, $3, $4, $5)"#,
[INFO] [stdout] 101 | |         invoice_id,
[INFO] [stdout] 102 | |         auth.business_id,
[INFO] [stdout] ...   |
[INFO] [stdout] 105 | |         InvoiceState::Open as InvoiceState
[INFO] [stdout] 106 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/invoices.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 117 | /         sqlx::query!(
[INFO] [stdout] 118 | |             r#"INSERT INTO invoice_items (id, invoice_id, description, quantity, unit_amount_cents) VALUES ($1, $2, $3, $4, $5)"#,
[INFO] [stdout] 119 | |             item_id,
[INFO] [stdout] 120 | |             invoice_id,
[INFO] [stdout] ...   |
[INFO] [stdout] 123 | |             item.unit_amount_cents
[INFO] [stdout] 124 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/handlers/payments.rs:63:19
[INFO] [stdout]    |
[INFO] [stdout] 63 |       let invoice = sqlx::query!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 64 | |         r#"
[INFO] [stdout] 65 | |         SELECT total_amount_cents, state as "state: InvoiceState"
[INFO] [stdout] 66 | |         FROM invoices
[INFO] [stdout] ...  |
[INFO] [stdout] 70 | |         invoice_id
[INFO] [stdout] 71 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/invoices.rs:151:19
[INFO] [stdout]     |
[INFO] [stdout] 151 |       let invoice = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 152 | |         r#"
[INFO] [stdout] 153 | |         SELECT id, customer_id, total_amount_cents, state as "state: InvoiceState"
[INFO] [stdout] 154 | |         FROM invoices
[INFO] [stdout] ...   |
[INFO] [stdout] 158 | |         auth.business_id
[INFO] [stdout] 159 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/invoices.rs:177:17
[INFO] [stdout]     |
[INFO] [stdout] 177 |       let items = sqlx::query_as!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 178 | |         InvoiceItemResponse,
[INFO] [stdout] 179 | |         r#"
[INFO] [stdout] 180 | |         SELECT description, quantity, unit_amount_cents
[INFO] [stdout] ...   |
[INFO] [stdout] 184 | |         invoice_id
[INFO] [stdout] 185 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/handlers/payments.rs:84:27
[INFO] [stdout]    |
[INFO] [stdout] 84 |       let active_attempts = sqlx::query!(
[INFO] [stdout]    |  ___________________________^
[INFO] [stdout] 85 | |         r#"
[INFO] [stdout] 86 | |         SELECT id, status as "status: PaymentStatus", idempotency_key, psp_reference, failure_code, updated_at, request_hash
[INFO] [stdout] 87 | |         FROM payment_attempts
[INFO] [stdout] ...  |
[INFO] [stdout] 90 | |         invoice_id
[INFO] [stdout] 91 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/invoices.rs:212:20
[INFO] [stdout]     |
[INFO] [stdout] 212 |       let invoices = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 213 | |         InvoiceSummary,
[INFO] [stdout] 214 | |         r#"
[INFO] [stdout] 215 | |         SELECT id, customer_id, total_amount_cents, state as "state: InvoiceState"
[INFO] [stdout] ...   |
[INFO] [stdout] 221 | |         filter.status as Option<InvoiceState>
[INFO] [stdout] 222 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/payments.rs:156:17
[INFO] [stdout]     |
[INFO] [stdout] 156 | /                 sqlx::query!(
[INFO] [stdout] 157 | |                     r#"UPDATE payment_attempts SET status = $1, updated_at = NOW() WHERE id = $2"#,
[INFO] [stdout] 158 | |                     PaymentStatus::Failed as PaymentStatus,
[INFO] [stdout] 159 | |                     attempt.id
[INFO] [stdout] 160 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/payments.rs:173:5
[INFO] [stdout]     |
[INFO] [stdout] 173 | /     sqlx::query!(
[INFO] [stdout] 174 | |         r#"
[INFO] [stdout] 175 | |         INSERT INTO payment_attempts (id, invoice_id, status, idempotency_key, request_hash, updated_at)
[INFO] [stdout] 176 | |         VALUES ($1, $2, $3, $4, $5, NOW())
[INFO] [stdout] ...   |
[INFO] [stdout] 184 | |         request_hash
[INFO] [stdout] 185 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/handlers/payments.rs:63:19
[INFO] [stdout]    |
[INFO] [stdout] 63 |       let invoice = sqlx::query!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 64 | |         r#"
[INFO] [stdout] 65 | |         SELECT total_amount_cents, state as "state: InvoiceState"
[INFO] [stdout] 66 | |         FROM invoices
[INFO] [stdout] ...  |
[INFO] [stdout] 70 | |         invoice_id
[INFO] [stdout] 71 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/handlers/payments.rs:84:27
[INFO] [stdout]    |
[INFO] [stdout] 84 |       let active_attempts = sqlx::query!(
[INFO] [stdout]    |  ___________________________^
[INFO] [stdout] 85 | |         r#"
[INFO] [stdout] 86 | |         SELECT id, status as "status: PaymentStatus", idempotency_key, psp_reference, failure_code, updated_at, request_hash
[INFO] [stdout] 87 | |         FROM payment_attempts
[INFO] [stdout] ...  |
[INFO] [stdout] 90 | |         invoice_id
[INFO] [stdout] 91 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/payments.rs:314:26
[INFO] [stdout]     |
[INFO] [stdout] 314 |       let updated_record = sqlx::query!(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 315 | |         r#"
[INFO] [stdout] 316 | |         UPDATE payment_attempts
[INFO] [stdout] 317 | |         SET status = $1, psp_reference = $2, failure_code = $3, updated_at = NOW()
[INFO] [stdout] ...   |
[INFO] [stdout] 325 | |         payload.idempotency_key
[INFO] [stdout] 326 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/payments.rs:156:17
[INFO] [stdout]     |
[INFO] [stdout] 156 | /                 sqlx::query!(
[INFO] [stdout] 157 | |                     r#"UPDATE payment_attempts SET status = $1, updated_at = NOW() WHERE id = $2"#,
[INFO] [stdout] 158 | |                     PaymentStatus::Failed as PaymentStatus,
[INFO] [stdout] 159 | |                     attempt.id
[INFO] [stdout] 160 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/payments.rs:339:9
[INFO] [stdout]     |
[INFO] [stdout] 339 | /         sqlx::query!(
[INFO] [stdout] 340 | |             r#"UPDATE invoices SET state = $1 WHERE id = $2"#,
[INFO] [stdout] 341 | |             InvoiceState::Paid as InvoiceState,
[INFO] [stdout] 342 | |             invoice_id
[INFO] [stdout] 343 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/payments.rs:173:5
[INFO] [stdout]     |
[INFO] [stdout] 173 | /     sqlx::query!(
[INFO] [stdout] 174 | |         r#"
[INFO] [stdout] 175 | |         INSERT INTO payment_attempts (id, invoice_id, status, idempotency_key, request_hash, updated_at)
[INFO] [stdout] 176 | |         VALUES ($1, $2, $3, $4, $5, NOW())
[INFO] [stdout] ...   |
[INFO] [stdout] 184 | |         request_hash
[INFO] [stdout] 185 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/payments.rs:314:26
[INFO] [stdout]     |
[INFO] [stdout] 314 |       let updated_record = sqlx::query!(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 315 | |         r#"
[INFO] [stdout] 316 | |         UPDATE payment_attempts
[INFO] [stdout] 317 | |         SET status = $1, psp_reference = $2, failure_code = $3, updated_at = NOW()
[INFO] [stdout] ...   |
[INFO] [stdout] 325 | |         payload.idempotency_key
[INFO] [stdout] 326 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/payments.rs:339:9
[INFO] [stdout]     |
[INFO] [stdout] 339 | /         sqlx::query!(
[INFO] [stdout] 340 | |             r#"UPDATE invoices SET state = $1 WHERE id = $2"#,
[INFO] [stdout] 341 | |             InvoiceState::Paid as InvoiceState,
[INFO] [stdout] 342 | |             invoice_id
[INFO] [stdout] 343 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `InvoiceState`
[INFO] [stdout]   --> src/handlers/payments.rs:14:20
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::types::{InvoiceState, PaymentStatus, PspResponseStatus, PspToken};
[INFO] [stdout]    |                    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `InvoiceState`
[INFO] [stdout]   --> src/handlers/payments.rs:14:20
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::types::{InvoiceState, PaymentStatus, PspResponseStatus, PspToken};
[INFO] [stdout]    |                    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `invoice-payment-system` (lib test) due to 13 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `invoice-payment-system` (lib) due to 13 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "bdc59013baa632306f2c2b2c67f83931e2e46143ccfeaf520a6aa91f0e120245", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bdc59013baa632306f2c2b2c67f83931e2e46143ccfeaf520a6aa91f0e120245", kill_on_drop: false }`
[INFO] [stdout] bdc59013baa632306f2c2b2c67f83931e2e46143ccfeaf520a6aa91f0e120245
